import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入字体
import "./assets/font/iconfont.css"
import "./assets/font/iconfont.js"

// 下载swiper：
// cnpm i swiper@3.4.2 -S

// 引入Swiper
import 'swiper/dist/css/swiper.css';

//引入axios
import axios from 'axios'
Vue.prototype.$http = axios

//引入vant
import { Tab, Tabs, Toast, Swipe, SwipeItem, Checkbox, CheckboxGroup,Lazyload,Popup,cell,Loading,RadioGroup, Radio   } from 'vant';
Vue.use(Tab).use(Tabs).use(Toast).use(Swipe).use(SwipeItem).use(Checkbox).use(CheckboxGroup).use(Lazyload,{lazyComponent: true}).use(Popup).use(cell).use(Loading);
Vue.use(RadioGroup).use(Radio);


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
